'''
/*
 * @Author: wevsmy 
 * @Date: 2017-10-26 10:26:29 
 * @Last Modified by: wevsmy
 * @Last Modified time: 2017-10-26 11:19:08
 */
'''
import struct

cmd = struct.pack("!H8sb5sb",1,"12345678".encode("utf-8"),0,"12345".encode("utf-8"),0)

cdcd = struct.unpack("!H8sb5sb",cmd)

print(cdcd)